
var _ = require('lodash');


var fp = require('lodash/fp');

const{ Maybe,Container} = require('./support');


// let ex4 = function (n) {
//   if (n) {
//     return parseInt(n);
//   }
// };


let ex1 = (e) => {
  let maybe = Maybe.of(e);
  return maybe.map((x) => parseInt(x));
};
console.log(ex1(123)._value);
// console.log(ex4(null));
